package org.plex.task.imp;

import java.io.Serializable;

import org.plex.task.TaskTimerInfo;

public class TaskTimerInfoImp implements TaskTimerInfo, Serializable {

	private static final long serialVersionUID = -4165133767744410330L;
	private com.adobe.idp.taskmanager.dsc.client.task.TaskTimerInfo taskTimerInfo;

	public com.adobe.idp.taskmanager.dsc.client.task.TaskTimerInfo getTaskTimerInfo() {
		return taskTimerInfo;
	}

	public void setTaskTimerInfo(
			com.adobe.idp.taskmanager.dsc.client.task.TaskTimerInfo taskTimerInfo) {
		this.taskTimerInfo = taskTimerInfo;
	}

	public TaskTimerInfoImp(
			com.adobe.idp.taskmanager.dsc.client.task.TaskTimerInfo taskTimerInfo)
			throws NullPointerException {
		if (null == taskTimerInfo) {
			throw new NullPointerException();
		}
		this.taskTimerInfo = taskTimerInfo;
	}

	public int getDays() {
		// TODO Auto-generated method stub
		return taskTimerInfo.getDays();
	}

	public int getHours() {
		// TODO Auto-generated method stub
		return taskTimerInfo.getHours();
	}

	public int getMinutes() {
		// TODO Auto-generated method stub
		return taskTimerInfo.getMinutes();
	}

	public int getTotalMinutes() {
		// TODO Auto-generated method stub
		return taskTimerInfo.getTotalMinutes();
	}

	public boolean isUserBusinessDays() {
		// TODO Auto-generated method stub
		return taskTimerInfo.isUseBusinessDays();
	}

	public void setDays(int days) {
		this.taskTimerInfo.setDays(days);

	}

	public void setHours(int hours) {
		// TODO Auto-generated method stub
		this.taskTimerInfo.setHours(hours);
	}

	public void setMinutes(int minutes) {
		// TODO Auto-generated method stub
		this.taskTimerInfo.setMinutes(minutes);
	}

	public void setUseBusinessDays(boolean isUserBusinessDays) {
		// TODO Auto-generated method stub
		this.taskTimerInfo.setUseBusinessDays(isUserBusinessDays);
	}

}
